﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ManagePower.aspx.cs" Inherits="Admin_ManagePower" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>无标题页</title>
        <style type="text/css">
            .button
            {
            width:56px;  /*图片宽带*/
            background:url(../img/button.jpg) no-repeat left top;  /*图片路径*/
            border:none;  /*去掉边框*/
            height:24px; /*图片高度*/
            color:White;
            vertical-align: middle;
            text-align:center
            }

            .button2
            {
            width:70px;  /*图片宽带*/
            background:url(../img/button2.jpg) no-repeat left top;  /*图片路径*/
            border:none;  /*去掉边框*/
            height:24px; /*图片高度*/
            color:White;
            vertical-align: middle;
            text-align:center
            }

            .style2
            {
	            background-color:#599de0;
	            color:White;
	            FONT-SIZE: 11pt;   

            }
            .style3
            {
	            background-color:#599de0;
	            color:White;
	            FONT-SIZE: 10pt;   
            }
        </style>
</head>
<body>
    <form id="form1" runat="server">
    <table id="__02" width="359" height="233" border="0" cellpadding="0" cellspacing="0">
	<tr>
		<td><img src="../img/ManagePower_01.jpg" alt=""/></td>
		<td style=" background:url(../img/ManagePower_02.jpg)"><img src="../img/ManagePower_02.jpg" width="302" height="31" alt=""/></td>
		<td><img src="../img/ManagePower_03.jpg" alt=""/></td>
	</tr>
	<tr>
		<td><img src="../img/ManagePower_04.jpg" width="28" height="4" alt=""/></td>
		<td style=" background:url(../img/ManagePower_05.jpg)"><img src="../img/ManagePower_05.jpg" width="302" height="4" alt=""/></td>
		<td><img src="../img/ManagePower_06.jpg" width="29" height="4" alt=""/></td>
	</tr>
	<tr>
		<td><img src="../img/ManagePower_07.jpg" width="28" height="29" alt=""/></td>
		<td style="background-color:#599de0" align="center">
			<asp:Label ID="lblRoleName" runat="server" Text="尚未选择任何角色" CssClass="style2"></asp:Label>
		    <asp:Label ID="lblRoleId" runat="server" Text="" Visible="False"></asp:Label>
		</td>
		<td><img src="../img/ManagePower_09.jpg" width="29" height="29" alt=""/></td>
	<tr>
		<td><img src="../img/ManagePower_07.jpg" width="28" height="29" alt=""/></td>
		<td style="background-color:#599de0" align="center" valign="middle">
		<div class="style3" >
			选择文件：<asp:FileUpload ID="FileUpload1" runat="server"/>
		</div>
		</td>
		<td><img src="../img/ManagePower_09.jpg" width="29" height="29" alt=""/></td>	
	</tr>
	<tr>
		<td><img src="../img/ManagePower_10.jpg" width="28" height="5" alt=""/></td>
		<td style=" background:url(../img/ManagePower_11.jpg)"><img src="../img/ManagePower_11.jpg" width="202" height="5" alt=""/></td>
		<td><img src="../img/ManagePower_12.jpg" width="29" height="5" alt=""/></td>
	</tr>
	<tr>
		<td><img src="../img/ManagePower_13.jpg" alt=""/></td>
		<td style="background-color:#badcee" align="center">
		        <asp:Button ID="BtnLoad" runat="server" Text="加载" OnClick="BtnLoad_Click" CssClass="button"/>&nbsp;
		        <asp:Button ID="btnSure" runat="server" Text="确定分配"  CssClass="button2" onclick="btnSure_Click"></asp:Button>&nbsp;
                <asp:Button ID="btnCancel" runat="server" Text="取消"  CssClass="button" onclick="btnCancel_Click"></asp:Button>&nbsp;
                <asp:Button ID="BtnUp" runat="server" Text="上传" OnClick="BtnUp_Click" CssClass="button"/>
		</td>
		<td><img src="../img/ManagePower_15.jpg" alt=""/></td>
	</tr>
	<tr>
		<td><img src="../img/ManagePower_16.jpg" width="28" height="29" alt=""/></td>
		<td style=" background:url(../img/ManagePower_17.jpg)"><img src="../img/ManagePower_17.jpg" width="202" height="29" alt=""/></td>
		<td><img src="../img/ManagePower_18.jpg" width="29" height="29" alt=""/></td>
	</tr>
	<tr>
		<td style=" background:url(../img/ManagePower_19.jpg) repeat-y"><img src="../img/ManagePower_19.jpg" width="28" height="76" alt=""/></td>
		<td style="background-color:White">
		    <asp:TreeView ID="treeMenuPower"  runat="server" ShowCheckBoxes="All" 
                    onclick="TreeViewCheckBox_Click(event)" 
                    ontreenodecheckchanged="PermTreeView_TreeNodeCheckChanged" Font-Size="11pt" 
                     ForeColor="Black">
                    <SelectedNodeStyle Font-Underline="True" HorizontalPadding="0px" VerticalPadding="0px" ForeColor="#5555DD" />
                    <DataBindings>
                        <asp:TreeNodeBinding DataMember="ROOT" TextField="caption" TargetField="owner" ImageToolTipField="visible" />
                        <asp:TreeNodeBinding DataMember="node" TextField="caption" TargetField="owner" ImageToolTipField="visible" />
                    </DataBindings>
            </asp:TreeView>
		</td>
		<td style=" background:url(../img/ManagePower_21.jpg)"><img src="../img/ManagePower_21.jpg" width="29" height="76" alt=""/></td>
	</tr>
	<tr>
		<td><img src="../img/ManagePower_22.jpg" width="28" height="31" alt=""/></td>
		<td style=" background:url(../img/ManagePower_23.jpg)"><img src="../img/ManagePower_23.jpg" width="202" height="31" alt=""/></td>
		<td><img src="../img/ManagePower_24.jpg" width="29" height="31" alt=""/></td>
	</tr>
</table>
</form>
</body>
</html>
<script type="text/jscript">
    function TreeViewCheckBox_Click(e) 
    {   
         if (window.event == null)   
             o = e.target;   
         else  
             o = window.event.srcElement;   
         if (o.tagName == "INPUT" && o.type == "checkbox") 
         {   
             __doPostBack("", "");   
         }   
     }   
</script>